package com.sinosoft.entity;

import java.util.Date;

import org.apache.commons.lang3.StringUtils;

public class DefRolePrivilegeRela {
    private Long rolePrivilegeRelaId;
    
    private DefRole role;
    
    private DefPrivilege privilege;
    
    private DefUser user;

    private String rcState;

    private Date createDate;

    private Date modifyDate;

    private Long createUserId;

    private Long modifyUserId;

    public DefRole getRole() {
		return role;
	}

	public void setRole(DefRole role) {
		this.role = role;
	}

	public DefPrivilege getPrivilege() {
		return privilege;
	}

	public void setPrivilege(DefPrivilege privilege) {
		this.privilege = privilege;
	}

	public DefUser getUser() {
		return user;
	}

	public void setUser(DefUser user) {
		this.user = user;
	}

	public Long getRolePrivilegeRelaId() {
        return rolePrivilegeRelaId;
    }

    public void setRolePrivilegeRelaId(Long rolePrivilegeRelaId) {
        this.rolePrivilegeRelaId = rolePrivilegeRelaId;
    }

    public String getRcState() {
        return rcState;
    }

    public void setRcState(String rcState) {
        this.rcState = StringUtils.isBlank(rcState) ? null : rcState.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public Long getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    public Long getModifyUserId() {
        return modifyUserId;
    }

    public void setModifyUserId(Long modifyUserId) {
        this.modifyUserId = modifyUserId;
    }
}